<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑海贼资料</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/layui/css/layui.css"  media="all">
</head>
<body>
<ul class="layui-nav" lay-filter="">
    <li class="layui-nav-item"><a href="/admin/login/loginout">退出</a></li>
</ul>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>编辑海贼资料</legend>
</fieldset>

<form class="layui-form" action="/admin/index/edit_do" method="post" >
    <div class="layui-form-item">
        <label class="layui-form-label">海贼名字</label>
        <div class="layui-input-block">
            <input type="text" name="chname" required  lay-verify="required" placeholder="请输入海贼名字" autocomplete="off" class="layui-input" value="{$chuser.ch_name}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">受欢迎度</label>
        <div class="layui-input-block">
            <input type="text" name="chclick" required  lay-verify="required" placeholder="请输入受欢迎度" autocomplete="off" class="layui-input" value="{$chuser.ch_click}">
        </div>
    </div>
    <input type="hidden" name="chid" value="{$chuser.ch_id}" />
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="submit" value="编辑" class="layui-btn" />
        </div>
    </div>
</form>

<script src="/static/layui/layui.all.js" charset="utf-8"></script>
</body>
</html>